package com.sniper.mybatis.service.impl;

import com.sniper.datasource.DataSource;
import com.sniper.datasource.DataSourceValue;
import com.sniper.model.SystemConfig;
import com.sniper.mybatis.service.BaseService;

import java.util.Map;

public interface SystemConfigService extends BaseService<SystemConfig> {

    @DataSource(DataSourceValue.SLAVE)
    Map<String, String> mapAdminConfig(boolean auto);
}
